package org.boulderfoodrescue.webapp.client.rpc;

import java.util.List;

import org.boulderfoodrescue.webapp.shared.UserAccount;
import org.boulderfoodrescue.webapp.shared.UserAccountDetails;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface UserAccountsServiceAsync {

  void saveProfileData(UserAccount user, AsyncCallback<Long> callback);

  void getUser(AsyncCallback<UserAccount> callback);
  
  void removeUser(UserAccount user, AsyncCallback<Boolean> callback);
  
  void getUsers(AsyncCallback<List<UserAccount>> callback);

	void getListUsers(AsyncCallback<List<UserAccountDetails>> callback);

	void removeUser(UserAccountDetails user, AsyncCallback<Boolean> callback);
 
}
